package com.aos.erp.manager.model.applyschool.ro;

import com.aos.erp.manager.enums.ApplyStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 驾校信息表
 * </p>
 *
 * @author ywb
 * @since 2018-11-02
 */
@Data
public class ReviewApplyRo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = " 主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 上级驾校Id
     */
    @ApiModelProperty(value = " 上级驾校Id")
    @Min(value = 1,message = "请传入数字")
    private Long parentId;


    /**
     * 角色ID
     */
    @ApiModelProperty(value = " 角色ID")
    @Min(value = 1,message = "请传入数字")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;


    /**
     * 审核结果反馈
     */
    @ApiModelProperty(value = " 审核结果反馈")
    @NotNull(message = "审核结果反馈不能为空")
    private String remark;


    /**
     * 审核
     */
    @ApiModelProperty(value = " 审核结果")
    @NotNull(message = "审核结果不能为空")
    private Integer reviewResult;


    /**
     * 登录人
     */
    @ApiModelProperty(value = " 登录人",hidden = true)
    private String currentUserId;

   /* public Serializable getStatusNum(){
        return reviewResult.getValue();
    }*/
}
